﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListInfo.aspx.cs" Inherits="CardLogistics.Web.MainPage.SystemMgr.SysLog.ListInfo" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="../../../Controls/WebUserControl_Nav.ascx" TagName="WebUserControl_Nav"
    TagPrefix="uc1" %>
<%@ Register Src="../../../Controls/WebUserControl_ToolBar.ascx" TagName="WebUserControl_ToolBar"
    TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>系统日志</title>
    <link href="../../../css/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../../js/jquery.js"></script>
    <script src="../../../js/valReq.js" type="text/javascript"></script>
    <script src="../../../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="../../../js/tblistjs.js" type="text/javascript"></script>
</head>
<body>
    <form runat="server" id="f1">
    <uc1:WebUserControl_Nav ID="WebUserControl_Nav1" runat="server" />
    <div class="rightinfo">
        <uc2:WebUserControl_ToolBar ID="wuc_toolbar" runat="server" />
        <ul class="seachform">
            <li>
                <label>
                    账号/姓名</label><asp:TextBox ID="txt_Name" runat="server" CssClass="scinput" Width="100px"></asp:TextBox></li>
            <li>
                <label>
                    操作日期</label>
                    <asp:TextBox ID="txt_StartData" runat="server" CssClass="Wdate" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" Width="100px" ></asp:TextBox>&nbsp;至
                    <asp:TextBox ID="txt_EndData" runat="server" CssClass="Wdate" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" Width="100px"></asp:TextBox>
                    </li>
            <li>
                <label>
                    日志内容</label>
                <asp:TextBox ID="txt_Content" runat="server" CssClass="scinput" Width="200px"></asp:TextBox>
            </li>
            <li>
                <label>
                    &nbsp;</label>
                <asp:Button ID="btn_Search" runat="server" Text="查询" CssClass="scbtn" 
                    onclick="btn_Search_Click" /></li>
        </ul>
        <asp:Repeater ID="rptList" runat="Server">
            <HeaderTemplate>
                <table class="tablelist" id="tblist">
                    <thead>
                        <tr>
                            <th>
                                序号
                            </th>
                            <th>
                                登录账号
                            </th>
                            <th>
                                姓名
                            </th>
                            <th>
                                日志内容
                            </th>
                            <th>
                                操作时间
                            </th>
                        </tr>
                    </thead>
                    <tbody>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td align="center" width="70px">
                           <input type="hidden" id="hf_Id" name="hf_id" value='<%# Eval("ID")%>' />
                        <%# Container.ItemIndex + 1 + (WebPageIndex * WebPageSize - WebPageSize)%>
                    </td>
                    <td>
                        <%# Eval("USERNAME")%>
                    </td>
                    <td>
                        <%# Eval("USERFULLNAME")%>
                    </td>
                    <td>
                        <%# Eval("LOGCONTENT")%>
                    </td>
                    <td width="170px" align="center">
                     <%# Eval("LOGDATE")%>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody></table>
            </FooterTemplate>
        </asp:Repeater>
        <webdiyer:AspNetPager ID="AspNetPager1" CssClass="paginator" CurrentPageButtonClass="cpb"
            runat="server" Width="100%" AlwaysShow="True" FirstPageText="首页" LastPageText="尾页"
            NextPageText="下一页"  PrevPageText="上一页" ShowCustomInfoSection="left"
            showinputbox="Never" CustomInfoTextAlign="Left" LayoutType="Table" OnPageChanged="AspNetPager1_PageChanged">
        </webdiyer:AspNetPager>
        <script type="text/javascript">
            $('.tablelist tbody tr:odd').addClass('odd');
        </script>
    </div>
    <asp:HiddenField ID="hdf_Id" runat="server" />
    </form>
</body>
</html>
